package com.lotusfall.dao;

import com.lotusfall.pojo.User;
import org.springframework.stereotype.Repository;

/**
 *  数据访问层实现类
 */

@Repository  // 就是交给spring框架去创建数据访问层的对象
public class UserMapperImpl implements UsersMapper {

    @Override
    public int insert(User user) {
        System.out.println(user.getUname() + "增加用户成功");
        return 1;
    }
}
